  <div><%= f.label :first_name %><br />
  <%= f.text_field :first_name %></div>

  <div><%= f.label :middle_name %><br />
  <%= f.text_field :middle_name %></div>

  <div><%= f.label :last_name %><br />
  <%= f.text_field :last_name %></div>

  <div ><%= f.label :email %><br />
  <%= f.text_field :email, {:disabled => !current_employee.nil? } %></div>
<script>

var f1 = new LiveValidation('employee_first_name');
f1.add( Validate.Presence );
var f2 = new LiveValidation('employee_last_name');
f2.add( Validate.Presence );

var f3 = new LiveValidation('employee_email');
f3.add( Validate.Presence );
f3.add( Validate.Email );
f3.add( Validate.Length, { minimum: 10, maximum: 20 } );




</script>